//导入axios
import axios from '@/utils'
//导出请求用户权限列表方法
export const getUserRights = () => axios({url:`rights/list`})
//导出角色列表方法
export const getUserRoles = () => axios({url:`roles`})
//导出移除角色权限方法
export const delRolseRight = (rId,qId) => axios({url:`roles/${rId}/rights/${qId}`,method:'delete'})
//导出分配用户权限树方法
export const getUserRightsTree = () => axios({url:`rights/tree`})
